package com.briup.es.domain.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@TableName(value ="es_book")
@Data
public class Book implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_ID)
    private Integer id;

    private String name;

    private String cover;

    private String description;

    private String author;

    private String publisher;

    private Double price;

    private Integer storeNum;

    private Integer status;

    private Integer categoryId;
}